package com.winhxd.b2c.common.domain.customer.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author chengyy
 * @Description: 系统后台用户列表页vo
 * @date 2018/8/4 17:29
 */
@Data
@ApiModel(value = "用户信息VO", description = "后台用户列表用户信息VO")
public class CustomerUserInfoVO {

    @ApiModelProperty("主键")
    private Long id;

    @ApiModelProperty("用户id")
    private Long customerId;

    @ApiModelProperty("用户手机号")
    private String customerMobile;

    @ApiModelProperty("微信openId")
    private String openid;

    @ApiModelProperty("纬度")
    private Double lat;

    @ApiModelProperty("经度")
    private Double lon;

    @ApiModelProperty("会员姓名")
    private String nickName;

    @ApiModelProperty("创建时间")
    private Date created;

    @ApiModelProperty("创建人ID")
    private Long createdBy;

    @ApiModelProperty("创建人名称")
    private String createdByName;

    @ApiModelProperty(value = "访问时间")
    private Date accessTime;

    @ApiModelProperty("修改时间")
    private Date updated;

    @ApiModelProperty("修改人ID")
    private Long updatedBy;

    @ApiModelProperty("修改人名称")
    private String updatedByName;

    @ApiModelProperty("登录session缓存key")
    private String sessionKey;

    @ApiModelProperty("用户状态1激活,0冻结")
    private Integer status;

    @ApiModelProperty("登录TOKEN值")
    private String token;

    @ApiModelProperty("数盟id")
    private String digitalUnionId;

    @ApiModelProperty("当前会员的上级ID,如果是一级经销商当前为NULL")
    private Long parentId;

    @ApiModelProperty("会员渠道ID")
    private Long channelId;

    @ApiModelProperty("微信姓名")
    private String wechatName;

    @ApiModelProperty("性别 0代表女 1代表男")
    private Integer sex;

    @ApiModelProperty("生日")
    private Date birthday;

    @ApiModelProperty("用户头像")
    private String headImg;

    @ApiModelProperty("会员等级 1:一级分销商 2：二级分销商 0：会员")
    private Integer level;

    @ApiModelProperty(value = "店铺名称")
    private String storeName;

    @ApiModelProperty(value = "店铺分享邀请会员二维码")
    private String customerStoreCodeUrl;

    @ApiModelProperty(value = "店铺邀请开店二维码")
    private String storeOpenCodeUrl;

    private static final long serialVersionUID = 1L;

}
